﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace LocalPort_Listener.Models
{
    public class PortInfo
    {
        /// <summary>
        /// 当前端口
        /// </summary>
        public int Port { get; set; }
        /// <summary>
        /// 当前端口所属进程ID
        /// </summary>
        public int ProcessID { get; set; }
        /// <summary>
        /// 当前端口所属进程
        /// </summary>
        public string ProcessName { get; set; } = "";
        /// <summary>
        /// 远程地址
        /// </summary>
        public string RemoteIP { get; set; } = "";
        /// <summary>
        /// 远程端口
        /// </summary>
        public int RemotePort { get; set; }
        /// <summary>
        /// 远程端口所在进程ID
        /// </summary>
        public int RemoteProcessID { get; set; }
        /// <summary>
        /// 远程端口所在进程名
        /// </summary>
        public string RemoteProcessName { get; set;} = "";
        /// <summary>
        /// 远程端口所在进程路径
        /// </summary>
        public string RemoteProcessFilePath { get; set; } = "";
    }
}
